$controls/header()$
$controls/navigation()$
<script src="scripts/ajax.js"></script>
<script src="scripts/userpanel.js"></script>
<script src="scripts/topic.js"></script>
<p class="partition"></p>
<div class="topboard">
<div class="left"><a href="{url:post.aspx?boardid=$Topic.BoardId$}"><img src="{IMGDIR}/button/newtopic.gif" alt="发表主题" /></a><a href="{url:post.aspx?topicid=$Topic.Id$}"><img src="{IMGDIR}/button/newreply.gif" alt="回复主题" /></a></div>$Pager$</div>
<div class="grid">
<div class="thall">
<div class="left">
<h1>$Topic.FullTitle$</h1>
</div>
<div class="right"><a href="{url:topic.aspx?topicid=$Topic.Id$&action=prev}">上一主题</a>&nbsp;|&nbsp;<a href="{url:topic.aspx?topicid=$Topic.Id$&action=next}">下一主题</a>&nbsp;|&nbsp;<a href="{url:encouragements.aspx?topicid=$Topic.Id$}">奖励记录</a>&nbsp;|&nbsp;<a href="{url:collect.aspx?type=topic&id=$Topic.Id$}">收藏主题</a></div>
</div>
</div>
$Replies:{r|
<div class="grid">
<table cellspacing="0" class="inner">
<tr class="forumh">
<td class="topicLeft" id="title" onMouseOver="MM_showHideLayers('menu$r.Id$','','show')" onMouseOut="MM_showHideLayers('menu$r.Id$','','hide')">
<div class="name">
<div><img src="$r.avatar$" /></div>
<div>
<p><a href="{url:profile.aspx?uid=$r.AuthorId$}">$r.AuthorName$</a></p>
<p class="small t2">UID:$r.UID$</p>
</div>
</div></td>
<td class="topicRight">
<div class="left">
<ul class="reply_button">
$if(Plugin.BlogEnabled)$
<li><a href="{url:blog.aspx?uid=$r.UID$}"><img src="{IMGDIR}/button/blog.gif" alt="" />博客</a>&nbsp;&nbsp;</li>
$endif$
<li><a href="{url:profile.aspx?uid=$r.UID$}"><img src="{IMGDIR}/button/detail.gif" alt="" />资料</a>&nbsp;&nbsp;</li>
<li><a href="{url:message.aspx?action=send&uid=$r.UID$}"><img src="{IMGDIR}/button/message.gif" alt="" />短消息</a>&nbsp;&nbsp;</li>
<li><a href="search.aspx?author=$r.UID$&intable=both"><img src="{IMGDIR}/button/search.gif" alt="" />搜索</a>&nbsp;&nbsp;</li>
<li><a href="{url:collect.aspx?type=friend&id=$r.UID$}"><img src="{IMGDIR}/button/friend.gif" alt="" />加为好友</a>&nbsp;&nbsp;</li>
<li><a href="{url:collect.aspx?type=idol&id=$r.UID$}"><img src="{IMGDIR}/button/idol.gif" alt="" />成为Fans</a>&nbsp;&nbsp;</li>
</ul>
</div>
<div class="reply_font">$if(r.First)$

	$if(OnlyAuthor)$ <a href="{url:topic.aspx?topicid=$r.TopicId$}">全部</a> $else$ <a href="{url:topic.aspx?topicid=$r.TopicId$&view=onlyauthor}">只看楼主</a> $endif$
	&nbsp;&nbsp;&brvbar;&nbsp;&nbsp;
$else$
	$if(r.IsAuthorReply)$ <span class="t1">楼主</span>&brvbar;&nbsp;
	$endif$
$endif$&nbsp;<a href="###" onClick="javascript:document.getElementById('content$r.Id$').className='bigfont'">大</a>&nbsp;<a href="###" onClick="javascript:document.getElementById('content$r.Id$').className='middlingfont'">中</a>&nbsp;<a href="###" onClick="javascript:document.getElementById('content$r.Id$').className='smallfont'">小</a>&nbsp;&nbsp;&nbsp;<span id="floor$r.Id$" class="small">#$r.Floor$</span>
</div></td>
</tr>
<tr>
<td valign="top" class="topicLeft bg1">$if(ShowFloatUserInfo)$
<div id="menu$r.Id$" class="ub" onMouseOver="MM_showHideLayers('menu$r.Id$','','show')" onMouseOut="MM_showHideLayers('menu$r.Id$','','hide')">
<div>&nbsp;</div>
<div class="uc t1">当前状态：$if(r.Online)$在线$else$离线$endif$</div>
<ol class="ub_list">
<li>性别：$if(r.Sex)$男$else$女$endif$</li>
<li>来自：<img src="images/flags/$r.Info.Nationality$.gif" alt="$r.Info.Nationality$" />&nbsp;$r.Info.Province$</li>
<li class="small"><img src="{IMGDIR}/button/oicq.gif" alt="QQ" />&nbsp;<a href=tencent://message/?uin=$r.Info.QQ$&Site=im.qq.com&Menu=yes>$r.Info.QQ$</a></li>
<li class="small"><img src="{IMGDIR}/button/email.gif" alt="Email" />&nbsp;<a href="mailto:$r.Email$">$r.Email$</a></li>
<li class="small"><img src="{IMGDIR}/button/msn.gif" alt="MSN" />&nbsp;$r.Info.MSN$</li>
<li>创建：<span class="small">$r.JoinTime$</span></li>
<li>活动：<span class="small">$r.LastTime$</span></li>
</ol>
</div>
$endif$
<div class="reply_left"> 
<ol>
<li><img src='$r.Visualization$' onerror='this.src="uploadfaces/no.gif";' onload='if(this.height>133)this.height=133; if(this.width>133)this.width=133' /></li>
</ol>
<ul>
<li><a href="{url:help.aspx?content=u4#4-3}" target="_blank" style="cursor:help"><img src="{IMGDIR}/level/$r.Level.Star$.gif" alt="等级:$r.Level.Name$" /></a></li>
<li>昵称：$r.Info.Rank$</li>
<li>组别：$r.GroupName$</li>
$r.Credits:{c|
$if(c.Enabled)$
<li>$c.Name$：<span class="small">$c.Value$ $c.Unit$</span></li>
$endif$
}
$
</ul>
<p>$r.Medals:{m|<img src="$m.Icon$" alt="$m.Name$" />&nbsp;}$</p>
</div></td>
<td class="topicRight bg2"><div class="contentHeight">
<div class="content" id="content$r.Id$">$r.Body$</div>

$if(r.Encouraged)$
<br />
<fieldset class="topLegend">
<legend><a href="encouragements.aspx?topicid=$Topic.Id$">奖励记录</a></legend>
<ul>
$r.Encouragements:{e|
<li><a href="{url:profile.aspx?uid=$e.EncouragerId$}" target="_blank">$e.EncouragerName$</a>&nbsp;&nbsp;<span class="t2">($e.Action$)&nbsp;&nbsp;$e.Reason$</span>&nbsp;&nbsp;<span class="small t2">$e.AddTime$</span></li>
}$
</ul>
</fieldset>
$endif$
	
</div>
<div class="signature"><span class="small">Time:&nbsp;$r.IssueTime$</span>
<p class="sign">$if(Page.user.personal.ShowSignature)$$r.Signature$$endif$</p>
</div></td>
</tr>
<tr>
<td class="topicLeft bg1">&nbsp;</td>
<td><div class="left">$r.Advertise$</div>
<div class="right">
&rsaquo;&rsaquo;&nbsp;举报&nbsp;&brvbar;&nbsp;<a href="{url:encourage.aspx?replyid=$r.Id$}">奖励</a>&nbsp;&brvbar;&nbsp;<a href="{url:post.aspx?topicid=$r.TopicId$&replyid=$r.Id$}">引用</a>&nbsp;&brvbar;&nbsp;
$if(r.ShowModifyButton)$
<a href="{url:modify.aspx?replyid=$r.Id$}">修改</a>&nbsp;&brvbar;&nbsp;
$endif$
$if(r.ShowDeleteButton)$
<a href="{url:delete.aspx?$if(r.First)$topicid=$r.TopicId$$else$replyid=$r.Id$$endif$}">删除</a>&nbsp;&brvbar;&nbsp;
$endif$
<span class="small"><a href="#">TOP</a></span>&nbsp;&nbsp;&nbsp;
</div></td>
</tr>
</table>
</div>
}$
<div class="topboard">
<div class="left"><a href="{url:post.aspx?boardid=$Topic.BoardId$}"><img src="{IMGDIR}/button/newtopic.gif" alt="发表主题" /></a><a href="{url:post.aspx?topicid=$Topic.Id$}"><img src="{IMGDIR}/button/newreply.gif" alt="回复主题" /></a></div>$Pager$</div>
<p class="partition"></p>
$Editor$
$controls/footer()$
<script>AdjustSignature();</script>